﻿@model Planisoft.Entities.PlantillaIngreso

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Agregar Concepto a la Plantilla de Ingresos </legend>
                
        <div class="editor-label">
            @Html.Label("Ingresos Sunat")
        </div>
        <div class="editor-field">
            @Html.DropDownList("IdIngresoSunat")
            @Html.ValidationMessageFor(model => model.IdIngresoSunat)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DescPersoIngreso)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DescPersoIngreso)
            @Html.ValidationMessageFor(model => model.DescPersoIngreso)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Indicador)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Indicador)
            @Html.ValidationMessageFor(model => model.Indicador)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")    
</div>
